<?php

namespace app\admin\validate;

use think\Validate;

class Ads extends Validate
{
    protected $rule = [
        'imgurl'           => 'require',
        'link_id'         => 'require',
    ];

    protected $message = [
        'imgurl.require'         => '图片不能为空',
        'article_id.require'    => '文章id不能为空',
    ];
}